package com.example.demo.spring.ioc.case02.ca;

import com.example.demo.spring.ioc.case02.Component;

/**
 * 定义一个模拟的数据库访问接口
 * @author: htc
 * @date: Created in 16:35 2019/1/10.
 */
@Component(id = "dataAccessInterface")
public class DataAccessInterface {
    public String queryFromTableA() {
        return "query result";
    }
}
